<?php include $this->tpl('public:common.php') ?>
<div class="btn-toolbar">
	<a href="/os/mailTpl/add" class="btn btn-primary"><i class="icon-plus"></i> 模板</a>
</div>
<div class="block">
	<a href="#page-stats" class="block-heading" data-toggle="collapse">邮件模板</a>
	<div id="page-stats" class="block-body collapse in">
		<table class="table table-striped">
			<thead>
			<tr>
				<th width="60">#</th>
				<th width="200">模板名称</th>
				<th width="80">操作</th>
			</tr>
			</thead>
			<tbody>							  
			<?php foreach($tpls as $tpl):?>
				<tr>
				<td><?=$tpl['tpl_id']?></td>
				<td><?=$tpl['name']?></td>
				<td>
				<a href="/os/mailTpl/update?tpl_id=<?=$tpl['tpl_id']?>" title= "修改" ><i class="icon-pencil"></i></a>
				</td>
				</tr>
			<?php endforeach?>
		  </tbody>
		</table>  
	</div>
</div>

	
<?php include $this->tpl('public:footer.php') ?>